<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			
			let robot = {
				name:'Robot',
				height:1.6,
				run:function(){
					console.log(this.name+'is running..');
				}
			}
			robot.run();
			
			
			let Student = {
				name:'Robot',
				height:1.2,
				run:function(){
					console.log(this.name+'is running..');
				}
			}
			
			let xiaoming={
				name:'小明'
			}
			
			xiaoming.__proto__=Student;
			
			xiaoming.name;
			xiaoming.run();
			
			
		</script>
	</body>
</html>
